@import '../../../utils/common.css'; /* common.wxss */

/* 商品组 */

.diy-goods .goods-list {
    padding: 4rpx;
    box-sizing: border-box;
}

.diy-goods .goods-list .goods-item {
    box-sizing: border-box;
    padding: 6rpx;
}

.diy-goods .goods-list.display__slide {
    white-space: nowrap;
    font-size: 0;
}

.diy-goods .goods-list.display__slide .goods-item {
    display: inline-block;
}

.diy-goods .goods-list.display__list .goods-item {
    float: left;
}

.diy-goods .goods-list.column__2 .goods-item {
    width: 50%;
}

.diy-goods .goods-list.column__2 .goods-image image {
    width: 359rpx;
    height: 359rpx;
}

.diy-goods .goods-list.column__3 .goods-item {
    width: 33.33333%;
}

.diy-goods .goods-list.column__3 .goods-image image {
    width: 235.3rpx;
    height: 235.3rpx;
}

.diy-goods .goods-list .goods-item .goods-image {
    background: #fff;
    position: relative;
}

.diy-goods .goods-list .goods-item .goods-image image {
    display: block;
    width: 100%;
}

.diy-goods .goods-list .goods-item .detail {
    padding: 8rpx;
    background: #fff;
}

.diy-goods .goods-list .goods-item .detail .goods-name {
    height: 80rpx;
    white-space: normal;
}
.yh-buy-hi {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 50px;
    height: 45px;
    line-height: 35px;
    color: #fff;
    font-size: 14px;
    /* background: url('../../../static/images/yh-buy-bq.png') no-repeat; */
    background-size: 100% 100%;
    text-align: center;
    letter-spacing: 1.5px;
}
.yh-p-goods-pic {
    height: 60px;
    width: 100%;
}
.yh-p-goods-pic img {
    width: 100%;
    height: 100%;
}
.yh-p-goods .yh-goods-image {
    position: relative;
}
.yh-p-goods-ct,
.yh-p-goods-ms {
    position: absolute;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}
.yh-p-goods-ct {
    width: 55px;
    height: 55px;
    text-align: center;
    line-height: 55px;
    border-radius: 100%;
    border: 1px solid #fff;
    bottom: 57px;
    left: 3px;
    background: #ffafaf;
}
.yh-p-goods-ms {
    top: 3px;
    right: 3px;
}
.yh-p-goods-8,
.yh-p-goods-8 .after,
.yh-p-goods-12,
.yh-p-goods-12 .after,
.yh-p-goods-12 .before,
.yh-p-goods-love,
.yh-p-goods-love .after,
.yh-p-goods-love .before {
    height: 40px;
    width: 40px;
    position: absolute;
    background: #ffafaf;
}
.yh-p-goods-8 .after,
.yh-p-goods-12 .before,
.yh-p-goods-12 .after,
.yh-p-goods-love .after,
.yh-p-goods-love .before {
    content: '';
    top: 0;
    left: 0;
}
.yh-p-goods-8 {
    -webkit-transform: rotate(20deg);
    -moz-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    -o-transform: rotate(20eg);
    transform: rotate(20deg);
}
.yh-p-goods-8 .after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}
.yh-p-goods-8 text,
.yh-p-goods-12 text,
.yh-p-goods-love text {
    width: 40px;
    line-height: 40px;
    text-align: center;
    position: absolute;
    z-index: 100;
}
.yh-p-goods-8 text {
    transform: rotate(-20deg);
    -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
}
.yh-p-goods-12 .before {
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -o-transform: rotate(30deg);
}
.yh-p-goods-12 .after {
    -webkit-transform: rotate(60deg);
    -moz-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    -o-transform: rotate(60deg);
}
.yh-p-goods-12 text {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}
.yh-p-goods-love {
    background: none;
}
.yh-p-goods-love .before {
    width: 25px;
    height: 35px;
    background: red;
    -moz-border-radius: 50px 50px 0 0;
    border-radius: 50px 50px 0 0;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: 0 100%;
    -moz-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    -o-transform-origin: 0 100%;
    transform-origin: 0 100%;
    left: 59%;
}
.yh-p-goods-love .after {
    width: 25px;
    height: 35px;
    background: red;
    -moz-border-radius: 50px 50px 0 0;
    border-radius: 50px 50px 0 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}
.yh-p-goods-love text {
    line-height: 24px;
    width: 46px;
}
